﻿@keyframes progress-bar-stripes {
    0% {
        background-position-x: 1rem;
    }
}

.bg-striped {
    background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    background-size: 1rem 1rem;
}

.bg-striped-animated {
    animation: 1s linear infinite progress-bar-stripes;
}

.progress-bar-indeterminate {
    animation: progress 1s infinite linear;
    transform-origin: 0% 50%;
}

@keyframes progress {
    0% {
        transform: translateX(0) scaleX(0);
    }

    40% {
        transform: translateX(0) scaleX(0.4);
    }

    100% {
        transform: translateX(100%) scaleX(0.5);
    }
}
